<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <link href="/Esquina_da_TI/default.css" rel="stylesheet" type="text/css" media="screen" />
        <script src="/Esquina_da_TI/js/jquery-1.3.2.js" type="text/javascript"></script>
        <script src="/Esquina_da_TI/js/exibirPaginas.js" type="text/javascript"></script>
        <script src="/Esquina_da_TI/js/tituloDinamico.js" type="text/javascript"></script>
        <title>Artigos Publicados</title>
    </head>
    <body>
        <!--CABEÇALHO-->
        <div id="header">
            <div id="menu">
                <ul id="main">
                    <li><a href="/Esquina_da_TI/index.php">&nbsp;<img src="/Esquina_da_TI/images/home.png" class="menu"/><br/>Inicio</a></li>
                    <li><a href="/Esquina_da_TI/Gui/Forum.php">&nbsp;&nbsp;<img src="/Esquina_da_TI/images/forum.png" class="menu"/><br/>Forum</a></li>
                    <li><a href="javascript:exibirVerNoticia()">&nbsp;&nbsp;<img src="/Esquina_da_TI/images/noticia.png" class="menu"/><br/>Noticias</a></li>
                    <li><a href="javascript:exibirVerArtigos()">&nbsp;<img src="/Esquina_da_TI/images/artigo.png" class="menu"/><br/>Artigos</a></li>
                    <li><a href="/Esquina_da_TI/Gui/Downloads.php">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="/Esquina_da_TI/images/download.png" class="menu"/><br/>Downloads</a></li>
                    <li><a href="/Esquina_da_TI/Gui/OportunidadeEmprego.php">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            &nbsp;&nbsp;<img src="/Esquina_da_TI/images/oportunidade.png" class="menu"/><br/>Oportunidades de Emprego</a></li>
                    <li><a href="javascript:exibirFaleConosco()">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="/Esquina_da_TI/images/faleconosco.png" class="menu"/><br/>Fale Conosco</a></li>
                    <li><a href="javascript:favoritos()"><img src="/Esquina_da_TI/images/addFavoritos.png" class="menu" title="Add Favoritos"/><br/><b>Favoritos</b></a></li>
                </ul>
            </div>
            <div id="logo">
                <h1><a href="#"><span>Esquina da T.I.</span></a></h1>
                <p>a Tecnologia a seu alcance</p>
            </div>
        </div>
        <div id="wrapper">
       <!--     <div id="page">-->
                    <!--CONTEUDO DO CENTRO-->
                    <div id="content" align="center">
                        <br/>
                        <br/>
                        <?

                        require_once($_SERVER["DOCUMENT_ROOT"] . '/Esquina_da_TI/ClassesBasicas/Artigo.php');
                        require_once($_SERVER["DOCUMENT_ROOT"] . '/Esquina_da_TI/ClassesBasicas/Privilegio.php');
                        require_once($_SERVER["DOCUMENT_ROOT"] . '/Esquina_da_TI/Gui/Fachada.php');

                        $artigo = null;
                        $fachada = new Fachada();

                        $assunto = $_POST['assuntoArtigo'];

                        if($assunto == 0) {
                            $fachada->exibirMenssagemErro("Selecione um Assunto!!!");
                            echo "<a href='javascript:exibirVerArtigos()'>Voltar</a>";
                        }else {
                            $fachada->filtrarPorAssunto($assunto);
                        }
                        ?>
                    </div>
                <!--BARRA DO RODAPÉ-->
                <div style="clear: both;">&nbsp;</div>
            </div>
 <!--       </div>-->

        <!--RODAPÉ-->
        <div id="footer">
            <p class="copyright">&copy;&nbsp;&nbsp;2009 All Rights Reserved &nbsp;&bull;&nbsp; Design by <a href="#">H1 Softwares</a>.</p>
            <p class="link"><a href="#">Privacy Policy</a>&nbsp;&#8226;&nbsp;<a href="#">Terms of Use</a></p>
        </div>
    </body>
</html>